package com.learning.javaweb_springboot_page_query.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.learning.javaweb_springboot_page_query.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    //单表，通过id查询用户
    public User queryUserById(Integer id);

    //单表，查询所有用户，实现方法用条件查询
    public List<User> queryAllUser();
}
